package com.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

/**
 * (Information)实体类
 *
 * @author makejava
 * @since 2020-10-26 21:12:52
 */
@ApiModel("消息推送实体")
public class Information implements Serializable {
    private static final long serialVersionUID = -97902700742548422L;

    private Integer info_id;
    /**
     * 推送人id
     */
    @ApiModelProperty(name = "pusherId",notes = "推送人id",dataType = "int",required = true)
    private Integer pusherId;
    /**
     * 判断是司机还是用户，或者全部
     */
    @ApiModelProperty(name = "receiver",notes = "接收人",required = true)
    private String[] receiver;

    /**
     * 推送消息内容
     */
    @ApiModelProperty(name = "informationDes",notes = "推送消息内容",dataType = "String",required = true)
    private String informationDes;
    /**
     * 推送时间
     */
    @ApiModelProperty(name = "informationTime",notes = "推送消息时间",dataType = "String")
    private String informationTime;

    public String getInformationTime() {
        return informationTime;
    }

    public void setInformationTime(String informationTime) {
        this.informationTime = informationTime;
    }

    public String[] getReceiver() {
        return receiver;
    }

    public void setReceiver(String[] receiver) {
        this.receiver = receiver;
    }

    public Integer getInfo_id() {
        return info_id;
    }

    public void setInfo_id(Integer info_id) {
        this.info_id = info_id;
    }

    public Integer getPusherId() {
        return pusherId;
    }

    public void setPusherId(Integer pusherId) {
        this.pusherId = pusherId;
    }



    public String getInformationDes() {
        return informationDes;
    }

    public void setInformationDes(String informationDes) {
        this.informationDes = informationDes;
    }

    @Override
    public String toString() {
        return "Information{" +
                "id=" + info_id +
                ", pusherId=" + pusherId +
                ", receiver=" + Arrays.toString(receiver) +
                ", informationDes='" + informationDes + '\'' +
                ", informationTime=" + informationTime +
                '}';
    }

}